//
//  TCFavorateCell.m
//  EFBTerminalCharts
//
//  Created by xiu-imac on 13-11-25.
//  Copyright (c) 2013年 adcc. All rights reserved.
//

#import "TCFavorateCell.h"

@implementation TCFavorateCell
- (void)dealloc
{
    [_nameLabel release];
    [_pageLabel release];
    [super dealloc];
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
		_nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, self.frame.size.width-20, 20)];
		[_nameLabel setTextColor:[UIColor lightGrayColor]];
		
		_pageLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 30, self.frame.size.width-20, 20)];
		[_pageLabel setTextColor:[UIColor lightGrayColor]];
		[_pageLabel setFont:[UIFont systemFontOfSize:12]];
		
		[self addSubview:_nameLabel];
		[self addSubview:_pageLabel];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
}

@end
